package net.sf.ivyide;

import java.util.Collection;

public interface ResolvedModule {

    ModuleId getModuleId();

    Collection<Dependency> getDependencies();

    //this method should throw a ResolveException in case this module did not resolve
    //successfully
    void checkResolveErrors() throws ResolveException;

    //should this be in environment instead ??
    LibraryDescriptor getLibraryDescriptor(Dependency dependency);
}
